package com.jianyun.jyzs.bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by yangshijun on 2018/7/5.
 */
@DatabaseTable(tableName = "table_enmsg")
public class MessageData {

    public final static String ID_FIELD_NAME = "autoId";//这里用一个常量来设置属性的名字，这样我们在中就可以直接使用该名字
    public final static String TABLE_NAME = "table_enmsg";

    @DatabaseField(generatedId = true, columnName = "autoId")
    private Integer autoId;
    @DatabaseField
    private String userId;
    @DatabaseField
    private String textStr;
    @DatabaseField
    private String toUserName;
    @DatabaseField
    private String fromUserId;
    @DatabaseField
    private String toUserId;
    @DatabaseField
    private String fromUserName;
    @DatabaseField
    private String dt;
    @DatabaseField
    private String id;
    @DatabaseField
    private String headerUrl;
    @DatabaseField
    private String autoids;
    @DatabaseField
    private String TYPE1;
    @DatabaseField
    private String Path1;
    @DatabaseField
    private String type;
    @DatabaseField
    private String ProjectProgress;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public int getAutoId() {
        return autoId;
    }

    public void setAutoId(int autoId) {
        this.autoId = autoId;
    }

    public void setTextStr(String textStr) {
        this.textStr = textStr;
    }

    public String getTextStr() {
        return this.textStr;
    }

    public void setToUserName(String toUserName) {
        this.toUserName = toUserName;
    }

    public String getToUserName() {
        return this.toUserName;
    }

    public void setFromUserId(String fromUserId) {
        this.fromUserId = fromUserId;
    }

    public String getFromUserId() {
        return this.fromUserId;
    }

    public void setToUserId(String toUserId) {
        this.toUserId = toUserId;
    }

    public String getToUserId() {
        return this.toUserId;
    }

    public void setFromUserName(String fromUserName) {
        this.fromUserName = fromUserName;
    }

    public String getFromUserName() {
        return this.fromUserName;
    }

    public void setDt(String dt) {
        this.dt = dt;
    }

    public String getDt() {
        return this.dt;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return this.id;
    }

    public String getHeaderUrl() {
        return headerUrl;
    }

    public void setHeaderUrl(String headerUrl) {
        this.headerUrl = headerUrl;
    }

    public String getAutoids() {
        return autoids;
    }

    public void setAutoids(String autoids) {
        this.autoids = autoids;
    }

    public String getTYPE1() {
        return TYPE1;
    }

    public void setTYPE1(String TYPE1) {
        this.TYPE1 = TYPE1;
    }

    public String getPath1() {
        return Path1;
    }

    public void setPath1(String path1) {
        Path1 = path1;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getProjectProgress() {
        return ProjectProgress;
    }

    public void setProjectProgress(String projectProgress) {
        ProjectProgress = projectProgress;
    }

    public MessageData() {

    }

    public MessageData(String userId, String textStr, String toUserName, String fromUserId, String toUserId, String fromUserName, String dt, String id, String headerUrl, String autoids, String TYPE1, String path1, String type, String projectProgress) {
        this.userId = userId;
        this.textStr = textStr;
        this.toUserName = toUserName;
        this.fromUserId = fromUserId;
        this.toUserId = toUserId;
        this.fromUserName = fromUserName;
        this.dt = dt;
        this.id = id;
        this.headerUrl = headerUrl;
        this.autoids = autoids;
        this.TYPE1 = TYPE1;
        Path1 = path1;
        this.type = type;
        ProjectProgress = projectProgress;
    }

    @Override
    public String toString() {
        return "MessageData{" +
                "userId='" + userId + '\'' +
                ", textStr='" + textStr + '\'' +
                ", toUserName='" + toUserName + '\'' +
                ", fromUserId='" + fromUserId + '\'' +
                ", toUserId='" + toUserId + '\'' +
                ", fromUserName='" + fromUserName + '\'' +
                ", dt='" + dt + '\'' +
                ", id='" + id + '\'' +
                ", headerUrl='" + headerUrl + '\'' +
                ", autoids='" + autoids + '\'' +
                ", TYPE1='" + TYPE1 + '\'' +
                ", Path1='" + Path1 + '\'' +
                ", type='" + type + '\'' +
                ", ProjectProgress='" + ProjectProgress + '\'' +
                '}';
    }
}
